GetSum Interface

public interface GetSum

Module Procedures

private function GetSumOfGridFloat(grid, maskReal, maskInteger) result(sum)

compute sum of grid_real eventually constrained to a mask

Arguments

Type IntentOptional Attributes Name
type(grid_real), intent(in) :: grid
type(grid_real), intent(in), optional :: maskReal
type(grid_integer), intent(in), optional :: maskInteger

Return Value real(kind=float)

private function GetSumOfGridInteger(grid, maskReal, maskInteger) result(sum)

compute sum of grid_integer eventually constrained to a mask

Arguments

Type IntentOptional Attributes Name
type(grid_integer), intent(in) :: grid
type(grid_real), intent(in), optional :: maskReal
type(grid_integer), intent(in), optional :: maskInteger

Return Value integer(kind=long)